﻿using System;
using System.Collections.Generic;
using System.Text;
using SQLite;

namespace MasterDetailTemplate.Models
{
    /// <summary>
    /// 饮食记录
    /// </summary>
    public class DietRecorder {
        /// <summary>
        /// 自增长ID，无实际意义
        /// </summary>
        [PrimaryKey, AutoIncrement]
        public int Id { set; get; }
        public string DietTimes { set; get; }

        /// <summary>
        /// 时间，格式为yyyy-MM-dd
        /// </summary>
        public string Date { set; get; }

        public int DietId { set; get; }
    }

    public static class DietRecorderConstant {
        /// <summary>
        /// 早餐
        /// </summary>
        public const string Breakfast = "breakfast";
        /// <summary>
        /// 午餐
        /// </summary>
        public const string Lunch = "lunch";
        /// <summary>
        /// 晚餐
        /// </summary>
        public const string Dinner = "dinner";
    }

}
